﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Citi.SecurityHelper;

namespace Encrypt
{
    public partial class EncryptText : Form
    {
        public EncryptText()
        {
            InitializeComponent();
        }

        private void btnEncrypt_Click(object sender, EventArgs e)
        {
            txtTextEncrypted.Text = Encryption.Encrypt(txtTextToEncrypt.Text);
        }

        private void generatepwdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new Form1().Show();
            Hide();
        }
    }
}
